import { createStore } from 'vuex';

export default createStore({
  state: {
    a: 0
  },
  mutations: {
    addA(state, payload) {
      state.a += payload;
    }
  }
});

